package com.xtedu.examproject.entity;

import java.io.Serializable;
import java.sql.Date;
import java.time.LocalDate;

public class ClassExamRecord implements Serializable {
    private int id;
    private int classId;
    private int teacherId;
    private int examId;
    private float theoryAvgScore;
    private float practiceAvgScore;
    private int examStudentCount;
    private int crossStudentCount;
    private Date createDate;

    public ClassExamRecord(int id, int classId, int teacherId, int examId, float theoryAvgScore, float practiceAvgScore, int examStudentCount, int crossStudentCount, Date createDate) {
        this.id = id;
        this.classId = classId;
        this.teacherId = teacherId;
        this.examId = examId;
        this.theoryAvgScore = theoryAvgScore;
        this.practiceAvgScore = practiceAvgScore;
        this.examStudentCount = examStudentCount;
        this.crossStudentCount = crossStudentCount;
        this.createDate = createDate;
    }

    public ClassExamRecord() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getClassId() {
        return classId;
    }

    public void setClassId(int classId) {
        this.classId = classId;
    }

    public int getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(int teacherId) {
        this.teacherId = teacherId;
    }

    public int getExamId() {
        return examId;
    }

    public void setExamId(int examId) {
        this.examId = examId;
    }

    public float getTheoryAvgScore() {
        return theoryAvgScore;
    }

    public void setTheoryAvgScore(float theoryAvgScore) {
        this.theoryAvgScore = theoryAvgScore;
    }

    public float getPracticeAvgScore() {
        return practiceAvgScore;
    }

    public void setPracticeAvgScore(float practiceAvgScore) {
        this.practiceAvgScore = practiceAvgScore;
    }

    public int getExamStudentCount() {
        return examStudentCount;
    }

    public void setExamStudentCount(int examStudentCount) {
        this.examStudentCount = examStudentCount;
    }

    public int getCrossStudentCount() {
        return crossStudentCount;
    }

    public void setCrossStudentCount(int crossStudentCount) {
        this.crossStudentCount = crossStudentCount;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    @Override
    public String toString() {
        return "ClassExamRecord [id=" + id + ", classId=" + classId + ", teacherId=" + teacherId + ", examId=" + examId + ", theoryAvgScore=" + theoryAvgScore + ", practiceAvgScore=" + practiceAvgScore + ", examStudentCount=" + examStudentCount + ", crossStudentCount=" + crossStudentCount + ", createDate=" + createDate + "]";
    }

}
